package com.ylbh.common.pojo.balancelog.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.Api;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: czx
 * @date: 2019/09/03 15:27
 */
@Data
@Api("余额变动")
public class BalanceLogVO implements Serializable {

    private String balanceId;

    @Excel(name = "变动时间", exportFormat = "yyyy-MM-dd HH:mm:ss", orderNum = "0")
    private Date createTime;

    @Excel(name = "用户类型", replace = {"运营商_1", "普通联盟店_2", "消费者_3", "VIP会员_4", "中级版联盟店_5",
            "高级版联盟店_6", "城市合伙人_7", "城市合伙人联盟店_8"}, orderNum = "3")
    private Integer userType;

    @Excel(name = "余额变动类型", replace = {"商家线上订单收益_1", "商家线下订单收益_2", "首单3块钱_3", "邀请奖励_4", "福利分佣_5",
            "店铺利润分佣_6", "退单_7", "用户推广佣金提现_8", "店铺订单金额提现_9", "推广短信消费_10", "推广充值返现_11", "推广订单交易返现_12", "后台佣金调整_13"}, orderNum = "4")
    private Integer changeType;

    @Excel(name = "余额类型", replace = {"支出_0", "收入_1"}, orderNum = "5")
    private Integer balanceType;

    @Excel(name = "消费人用户类型", replace = {"运营商_1", "普通联盟店_2", "消费者_3", "VIP会员_4", "中级版联盟店_5",
            "高级版联盟店_6", "城市合伙人_7", "城市合伙人联盟店_8"}, orderNum = "8")
    private Integer passiveUserType;

    @Excel(name = "余额变动说明", orderNum = "9")
    private String changeRemark;

    @Excel(name = "变动类型", replace = {"已到账_1", "即将到帐_2"}, orderNum = "11")
    private Integer logType;

    @Excel(name = "变动后的用户余额", orderNum = "12")
    private BigDecimal currentBalance;

    @Excel(name = "消费人账号", orderNum = "6")
    private String passiveUserName;

    @Excel(name = "消费人名称", orderNum = "7")
    private String passiveTrueName;

    @Excel(name = "变动金额", orderNum = "10")
    private BigDecimal changeBalance;

    @Excel(name = "余额变动人账号", orderNum = "1")
    private String userName;

    @Excel(name = "余额变动人名称", orderNum = "2")
    private String trueName;
}
